Operation int
indexOf (Object elem, int index), in Class Vector
Documentation
* Searches for the first occurence of the given argument, beginning
* the search at <code>index</code>, and testing for equality using
* the <code>equals</code> method.
*
* @param elem an object.
* @param index the index to start searching from.
* @return the index of the first occurrence of the object argument in
* this vector at position <code>index</code> or later in the
* vector; returns <code>-1</code> if the object is not found.
* @see java.lang.Object#equals(java.lang.Object)
* @since JDK1.0
Concurrency | Sequential | Export Control | PublicAccess |
Property Settings
Java
Final | True | Synchronized | True |
Abstract | False | Static | False |
Native | False | | |